// src/types/router.types.ts
import React from 'react';

// 路由配置类型定义
export interface RouteConfig {
  path: string;
  element: React.ReactElement;
  protected?: boolean;
  children?: RouteConfig[];
}

// 路由元信息类型
export interface RouteMeta {
  title?: string;
  requiresAuth?: boolean;
  roles?: string[];
}

